package de.codi.mappingevaluation;

import java.io.File;

import de.unima.alcomox.exceptions.MappingException;
import de.unima.alcomox.mapping.Characteristic;
import de.unima.alcomox.mapping.Mapping;

public class MappingPlus {
	private Mapping m;
	private Characteristic c;
	private String desc;
	
	public MappingPlus(File f, String desc) throws MappingException {
		this.desc = desc;
		this.m = new Mapping(f.getAbsolutePath());
	}
	
	public Mapping getMapping(){
		return m;
	}
	
	public String getDescription(){
		return desc;
	}
	
	public void setCharacteristic(Mapping reference){
		this.c = new Characteristic(this.m, reference);
	}
	
	public String getResult(){
		return c.toString();
	}
	
}